package com.CmJava.tomcat.Server.req_resp;

import java.io.OutputStream;

public class HttpServletResponse {

    private OutputStream outputStream;
    private String responseHeader="HTTP/1.1 200\r\nContent-Type:text/html\r\n\r\n";

    public HttpServletResponse(OutputStream outputStream) {
        this.outputStream = outputStream;
    }

    public OutputStream getOutputStream() {
        return outputStream;
    }

    public void setOutputStream(OutputStream outputStream) {
        this.outputStream = outputStream;
    }

    public String getResponseHeader() {
        return responseHeader;
    }

    public void setResponseHeader(String responseHeader) {
        this.responseHeader = responseHeader;
    }
}
